package com.wnhz.work.yz.activity;

import android.os.Bundle;
import android.view.View;

import com.wnhz.work.yz.BaseActivity;
import com.wnhz.work.yz.R;

/**
 * ---预约成功
 */
public class ReserveSuccessActivity extends BaseActivity implements View.OnClickListener {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_reserve_success);

        initView();
    }

    private void initView() {
        findViewById(R.id.tv_back_home).setOnClickListener(this);
        findViewById(R.id.tv_details).setOnClickListener(this);
    }

    @Override
    public void onClick(View v) {
        switch (v.getId()){
            case R.id.tv_back_home:
                MyToast("返回首页");
                break;

            //预约详情
            case R.id.tv_details:
                MyToast("预约详情");
                break;

            default:
                break;
        }
    }
}
